package com.ruoyi.ae.api;

import com.ruoyi.ae.api.domain.AeStoreOrderReceiptAddress;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "remoteAeOrderAddrService", value = ServiceNameConstants.AE_SERVICE)
public interface RemoteAeOrderAddrService {

    /**
     * 根据订单号获取地址信息
     */
    @GetMapping("/ae/sellerStore/getAddressByOrderId")
    AeStoreOrderReceiptAddress getAddressByOrderId(@RequestParam("orderId") Long orderId);
}
